Skip to content

Instantly share code, notes, and snippets.

@alanzeino
alanzeino / lldb-debugging.md
Last active March 5, 2026 20:59
LLDB debugging with examples

LLDB Debugging Cheat Sheet

Commands

LLDB Commands

LLDB comes with a great set of commands for powerful debugging.

help

Your starting point for anything. Type help to get a list of all commands, plus any user installed ones. Type 'help for more information on a command. Type help to get help for a specific option in a command too.

@z3tt
z3tt / github.R
Last active March 5, 2026 20:58
Configure GitHub for Rstudio
#### 1. Sign up at GitHub.com ################################################
## If you do not have a GitHub account, sign up here:
## https://github.com/join
# ----------------------------------------------------------------------------
#### 2. Install git ##########################################################
## If you do not have git installed, please do so:
@bashbunni
bashbunni / .zshrc
Last active March 5, 2026 20:55
CLI Pomodoro for Mac
# I'll be doing another one for Linux, but this one will give you
# a pop up notification and sound alert (using the built-in sounds for macOS)
# Requires https://github.com/caarlos0/timer to be installed
# Mac setup for pomo
alias work="timer 60m && terminal-notifier -message 'Pomodoro'\
-title 'Work Timer is up! Take a Break 😊'\
-appIcon '~/Pictures/pumpkin.png'\
-sound Crystal"
@calloc134
calloc134 / 運用調査.md
Last active March 5, 2026 20:55
T字形ERの運用についての調査

T字ER(リソース系/イベント系分離)運用調査レポート

調査日: 2026-03-04

1. 目的

本レポートは、以下を整理することを目的とする。

  1. T字ER(TM思考法)でリソース系とイベント系を分離して設計した後、どのような運用が現実的か。
  2. カレントディレクトリ内の5アプリ(saleor / spree / erpnext / redmine / discourse)が、どの設計パターンに該当するか。
@btc-c0der
btc-c0der / ai-ide-prompt-template.md
Last active March 5, 2026 20:54
Gist template for your AI IDE prompt, designed to enforce TDD, DRY, and SOLID principles
# AI IDE Prompt Template: Enforce TDD, DRY & SOLID Principles
For AI coding assistants (GitHub Copilot, ChatGPT, Claude, etc.) to generate production-ready code

```prompt
### Role
You are an AI-powered IDE assistant. Your primary role is to guide development strictly through **TDD**, ensure **DRY** code, and enforce **SOLID** design principles. All code must be modular, testable, and reusable.

### Core Rules
1. **TDD Workflow (Red-Green-Refactor):**
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active March 5, 2026 20:47
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under the Quests tab
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:

Codex Reviewer

You are a code reviewer agent powered by OpenAI Codex. Your job is to review code changes and provide actionable feedback.

Workflow

  1. Receive a review request (diff, file paths, or a description of changes).
  2. Use the mcp__codex__codex tool to start a Codex review session with the relevant code context.
  3. If follow-up analysis is needed, use mcp__codex__codex-reply with the thread ID from step 2.
  4. Summarize Codex's findings into a clear, structured review for the user.
@datapush3r
datapush3r / gist:faf4f2e2fa498487a9dee813786c7ddd
Last active March 5, 2026 20:42
Restore / Reinstall Microsoft Store App Windows 10
# Press Windows Key + R then type “wsreset.exe” and hit enter.
# Open Powershell as Admin
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
# Open CMD as Admin
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth
@ardakazanci
ardakazanci / rippleglass.kt
Last active March 5, 2026 20:40
LiquidGlassAGSLShader
private const val LiquidGlassShaderSource = """
const float PI = 3.1415926;
const float FORCE = 0.08;
const float THICKNESS = 0.075;
const float FEATHERING = 0.1;
const float ABERRATION_OFFSET = 0.006;
const float FLASH_INTENSITY = 3.0;
const float REFRACTION_STRENGTH = 0.03;
@ryanlua
ryanlua / fritzing-download.md
Last active March 5, 2026 20:39
Free download of Fritzing using the official download links